package com.kws.tool.dto.info;

import io.swagger.annotations.ApiModelProperty;

/**
 * <b>QueryComponentInfo</b>
 *
 * @description: QueryComponentInfo <br>
 * @date: 2024/11/11 17:41 <br>
 * @author: lhm <br>
 * @version: 1.0 <br>
 */
public class QueryComponentInfo {
    @ApiModelProperty(value = "控件ID")
    private String componentId;

    @ApiModelProperty(value = "控件Key")
    private String componentKey;

    @ApiModelProperty(value = "控件名称")
    private String componentName;

    @ApiModelProperty(value = "控件是否必填:true - 必填，false - 非必填")
    private boolean required;

    @ApiModelProperty(value = "控件类型:1 - 单行文本，2 - 数字，3 - 日期，6 - 签章区域，8 - 多行文本，9 - 复选，10 - 单选，11 - 图片，14 -下拉框，15 - 勾选框，16 - 身份证，17 - 备注区域，18 - 动态表格，19 - 手机号")
    private Integer componentType;

    @ApiModelProperty(value = "自定义控件ID")
    private String originCustomComponentId;

    @ApiModelProperty(value = "控件位置信息")
    private QueryComponentPositionInfo componentPosition;

    public String getComponentId() {
        return componentId;
    }

    public void setComponentId(String componentId) {
        this.componentId = componentId;
    }

    public String getComponentKey() {
        return componentKey;
    }

    public void setComponentKey(String componentKey) {
        this.componentKey = componentKey;
    }

    public String getComponentName() {
        return componentName;
    }

    public void setComponentName(String componentName) {
        this.componentName = componentName;
    }

    public boolean isRequired() {
        return required;
    }

    public void setRequired(boolean required) {
        this.required = required;
    }

    public Integer getComponentType() {
        return componentType;
    }

    public void setComponentType(Integer componentType) {
        this.componentType = componentType;
    }

    public String getOriginCustomComponentId() {
        return originCustomComponentId;
    }

    public void setOriginCustomComponentId(String originCustomComponentId) {
        this.originCustomComponentId = originCustomComponentId;
    }

    public QueryComponentPositionInfo getComponentPosition() {
        return componentPosition;
    }

    public void setComponentPosition(QueryComponentPositionInfo componentPosition) {
        this.componentPosition = componentPosition;
    }
}
